/*
 * File.h
 *
 *  Created on: 26/mag/2012
 *      Author: matteo
 */

#ifndef FILE_H_
#define FILE_H_

#include <fstream>

class File {
public:
	File();
	virtual ~File();
	void open(std::string path, std::string filename);
	void read();
	char* getData();
	int getSize();
private:
	std::ifstream 	m_input_file;
	int				m_length;
	char*			m_buffer;

};

#endif /* FILE_H_ */
